package sctu.edu.java.year2016.team03.huzhou.textwork.day20160601.Expiame_02;

import sctu.edu.java.year2016.team05.zengkun.day20160524.chapter7_2.Example_2;

/**
 * Created by Administrator on 2016/6/1.
 */
public class Example {
    int[] num={25,62,86,33,77,62,88};
    //public int setNum(int index,int valun){
     //   return index;
    //}

    public int getNum(int index){
        return num[index];
    }

    public static void main(String[] args) {
        Example one=new Example();
        int Amy=one.getNum(0);
        System.out.println(Amy);
       // Amy =one.setNum(2,20);
        System.out.println(one.getNum(1));
        System.out.println(one.getNum(3));
        System.out.println(one.getNum(6));
    }

}
